package cn.edu.scau.cmi.zhangweiming.client;
import cn.edu.scau.cmi.zhangweiming.simpleFactoryMethod.domain.Meat;

import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;

import javafx.scene.layout.BorderPane;

public class SimpleFactoryMethodClient extends Application{
	
	public void start(Stage primaryStage) {
		try {
			Parent root = FXMLLoader.load(getClass().getResource("../simpleFactoryMethod/MeatFactory.fxml"));
			primaryStage.setTitle("SimpleFactory");
			primaryStage.setScene(new Scene(root));
			primaryStage.show();
		}
		catch(Exception e) {
            e.printStackTrace();
        }
	}

	public static void main(String[] args) {
		
		launch(args);
	}

}
